package plate

//获取
func get(user_id uint) (Node_t, bool) {
	var node Node_t
	if value, ok := handler.Nodes.Load(user_id); ok {
		if node, ok = value.(Node_t); ok {
			return node, true
		}
	}
	return node, false
}

//设置
func set(user_id uint, node Node_t) {
	handler.Nodes.Store(user_id, node)
}
